home *** CD-ROM | disk | FTP | other *** search
/ Merciful 1 / Merciful - Disc 1.iso / software / d / devpak / devpakv3.01kickstartv1.3b.dms / devpakv3.01kickstartv1.3b.adf / include / libraries / configvars.i < prev    next >
Text File  |  1991-11-20  |  1KB  |  49 lines

  1.     IFND    LIBRARIES_CONFIGVARS_I
  2. LIBRARIES_CONFIGVARS_I    SET    1
  3. **
  4. **    $Filename: libraries/configvars.i $
  5. **    $Release: 1.3 $
  6. **
  7. **    software structures for configuration subsystem 
  8. **
  9. **    (C) Copyright 1986,1987,1988 Commodore-Amiga, Inc.
  10. **        All Rights Reserved
  11. **
  12.  
  13.     IFND    EXEC_NODES_I
  14.     INCLUDE "exec/nodes.i"
  15.     ENDC    ; EXEC_NODES_I
  16.  
  17.     IFND    LIBRARIES_CONFIGREGS_I
  18.     INCLUDE "libraries/configregs.i"
  19.     ENDC    ; LIBRARIES_CONFIGREGS_I
  20.  
  21.  
  22.  STRUCTURE ConfigDev,0
  23.     STRUCT    cd_Node,LN_SIZE
  24.     UBYTE    cd_Flags
  25.     UBYTE    cd_Pad
  26.     STRUCT    cd_Rom,ExpansionRom_SIZEOF ; copy of boards config rom
  27.     APTR    cd_BoardAddr    ; where in memory the board is
  28.     APTR    cd_BoardSize    ; size in bytes
  29.     UWORD    cd_SlotAddr    ; which slot number
  30.     UWORD    cd_SlotSize    ; number of slots the board takes
  31.     APTR    cd_Driver    ; pointer to node of driver
  32.     APTR    cd_NextCD    ; linked list of drivers to config
  33.     STRUCT    cd_Unused,4*4    ; for whatever the driver whats
  34.     LABEL    ConfigDev_SIZEOF
  35.  
  36. ; cd_Flags
  37.     BITDEF    CD,SHUTUP,0    ; this board has been shut up
  38.     BITDEF    CD,CONFIGME,1    ; this board needs a driver to claim it
  39.  
  40. ; this structure is used by GetCurrentBinding() and SetCurrentBinding()
  41.  STRUCTURE CurrentBinding,0
  42.     APTR    cb_ConfigDev
  43.     APTR    cb_FileName
  44.     APTR    cb_ProductString
  45.     APTR    cb_ToolTypes
  46.     LABEL    CurrentBinding_SIZEOF
  47.  
  48.     ENDC    ; LIBRARIES_CONFIGVARS_I
  49.